import initExports from './init-exports';

export default function createCachePlugin() {
  return {
    name: 'vite-plugin-exports',
    enforce: 'pre',
    configResolved() {
      initExports();
    },
  };
}
